package com.glory.brepda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: TempRecipeEntity
 * Author: XJH
 * Date: 2021/4/9 11:39
 * Description:
 * History:
 */
public class TempRecipeEntity implements Serializable {

    private List<TempRecipeInfoEntity> list;
    private String PACKAGETYPE;
    private String PRODUCTMODEL;
    private String WIRINGNO;
    private String CHIPNAME;
    private String FRAMESPEC;
    private String GLUESPEC;
    private String PLASTICCOATSPEC;
    private String CUSTOMERCODE;
    private List<String> WIRESPECS;

    public String getPACKAGETYPE() {
        return PACKAGETYPE == null ? "" : PACKAGETYPE;
    }

    public void setPACKAGETYPE(String PACKAGETYPE) {
        this.PACKAGETYPE = PACKAGETYPE;
    }

    public String getPRODUCTMODEL() {
        return PRODUCTMODEL == null ? "" : PRODUCTMODEL;
    }

    public void setPRODUCTMODEL(String PRODUCTMODEL) {
        this.PRODUCTMODEL = PRODUCTMODEL;
    }

    public String getWIRINGNO() {
        return WIRINGNO == null ? "" : WIRINGNO;
    }

    public void setWIRINGNO(String WIRINGNO) {
        this.WIRINGNO = WIRINGNO;
    }

    public String getCHIPNAME() {
        return CHIPNAME == null ? "" : CHIPNAME;
    }

    public void setCHIPNAME(String CHIPNAME) {
        this.CHIPNAME = CHIPNAME;
    }

    public String getFRAMESPEC() {
        return FRAMESPEC == null ? "" : FRAMESPEC;
    }

    public void setFRAMESPEC(String FRAMESPEC) {
        this.FRAMESPEC = FRAMESPEC;
    }

    public String getGLUESPEC() {
        return GLUESPEC == null ? "" : GLUESPEC;
    }

    public void setGLUESPEC(String GLUESPEC) {
        this.GLUESPEC = GLUESPEC;
    }

    public String getPLASTICCOATSPEC() {
        return PLASTICCOATSPEC == null ? "" : PLASTICCOATSPEC;
    }

    public void setPLASTICCOATSPEC(String PLASTICCOATSPEC) {
        this.PLASTICCOATSPEC = PLASTICCOATSPEC;
    }

    public String getCUSTOMERCODE() {
        return CUSTOMERCODE == null ? "" : CUSTOMERCODE;
    }

    public void setCUSTOMERCODE(String CUSTOMERCODE) {
        this.CUSTOMERCODE = CUSTOMERCODE;
    }

    public List<String> getWIRESPECS() {
        if (WIRESPECS == null) {
            return new ArrayList<>();
        }
        return WIRESPECS;
    }

    public void setWIRESPECS(List<String> WIRESPECS) {
        this.WIRESPECS = WIRESPECS;
    }

    public List<TempRecipeInfoEntity> getList() {
        if (list == null) {
            return new ArrayList<>();
        }
        return list;
    }

    public void setList(List<TempRecipeInfoEntity> list) {
        this.list = list;
    }

    public class TempRecipeInfoEntity{
        private String recipeName;
        private String createTime;
        private int id;
        private int RN;
        private int type;
        private String equipmentId;
        private String version;
        private int userId;
        private String url;
        private int status;
        private String recipeType;
        private String procedure;
        private String equipmentType;
        private boolean checked;

        public String getEquipmentType() {
            return equipmentType;
        }

        public void setEquipmentType(String equipmentType) {
            this.equipmentType = equipmentType;
        }

        public boolean isChecked() {
            return checked;
        }

        public void setChecked(boolean checked) {
            this.checked = checked;
        }

        public String getRecipeName() {
            return recipeName == null ? "" : recipeName;
        }

        public void setRecipeName(String recipeName) {
            this.recipeName = recipeName;
        }

        public String getCreateTime() {
            return createTime == null ? "" : createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getRN() {
            return RN;
        }

        public void setRN(int RN) {
            this.RN = RN;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getEquipmentId() {
            return equipmentId == null ? "" : equipmentId;
        }

        public void setEquipmentId(String equipmentId) {
            this.equipmentId = equipmentId;
        }

        public String getVersion() {
            return version == null ? "" : version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getUrl() {
            return url == null ? "" : url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getRecipeType() {
            return recipeType == null ? "" : recipeType;
        }

        public void setRecipeType(String recipeType) {
            this.recipeType = recipeType;
        }

        public String getProcedure() {
            return procedure == null ? "" : procedure;
        }

        public void setProcedure(String procedure) {
            this.procedure = procedure;
        }
    }
}
